package net;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author antonio
 */
import java.util.*;

public class AccessPoint {

    private Vector mac = new Vector();
    private Vector signal = new Vector();
    private String totalSignal;

    public void setMac(String line)
    {
        StringTokenizer tokenizer = new StringTokenizer(line, "|");
        for(int i=0; tokenizer.hasMoreTokens(); i++)
            this.mac.add(i, tokenizer.nextToken());
    }

    public Vector getMac()
    {
        return this.mac;
    }

    public void setSignal(String line)
    {
        StringTokenizer tokenizer = new StringTokenizer(line, "|");

        for(int i=0; tokenizer.hasMoreTokens(); i++)
            this.signal.add(i, tokenizer.nextToken());

    }

    public Vector getSignal()
    {
        return this.signal;
    }

    public void setTotalSignal(String totalSignal)
    {
        this.totalSignal = totalSignal;
    }

    public String getTotalSignal()
    {
        return this.totalSignal;
    }
}
